<style>
table tr td, table tr th {

   
}
table tr td:first-child, table tr th:first-child {
    text-align:left;
    padding-left:10px;
}
h4 {
    margin-bottom:10px;
    margin-top:15px;
}
h4 small {
    font-weight:normal;
}
</style>

<div id="main_content">
<table class="table" cellspacing="0" cellpadding="4" border="0">
    <tr>
        <th width="20%"><?=lang('moduls_modul')?></th>
        <th><?=lang('moduls_description')?></th>
        <th width="20%"><?=lang('moduls_author')?></th>
        <th width="10%"><?=lang('actions')?></th>
    <tr>
<?php foreach($modules as $row):?>
    <tr>
        <td><?=($row->admin) ? modul_anchor('modul/'.$row->code, $row->title) : $row->title ?></td>
        <td><?=$row->description ?></td>
        <td>
            <?=$row->author ?> 
            &nbsp;&nbsp;
            <?=($row->email != '') ? mailto($row->email, image('images/icons/mail.png')) : ''?> 
            <?=($row->site != '') ? anchor(prep_url($row->site), image('images/icons/home.png')) : ''?>
        </td>
        <td>
        <?php if (!in_array($row->code, $not_install)):?>
            <?=modul_anchor('moduls/install/'.$row->code, image('images/icons/disc_arrow.png')) ?>
            <?=modalboxquestion ('moduls/uninstall/'.$row->code, image('images/icons/disc_minus.png'), lang('delete').' '.lang('moduls_modul_small').' - '.$row->title)?>
        <?php endif;?>
        </td>
    </tr>
<?php endforeach;?>
</table>
</div>